Optimal. Leaf size=187 \[ \frac{d^2 (a+b x)^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{d (a+b x)}{b c-a d}\right )}{(m+1) (b c-a d) (d e-c f)^2}+\frac{f (a+b x)^{m+1} (a d f-b (c f m+d e (1-m))) \, _2F_1\left (1,m+1;m+2;-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^2 (d e-c f)^2}-\frac{f (a+b x)^{m+1}}{(e+f x) (b e-a f) (d e-c f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.175775, antiderivative size = 187, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {103, 156, 68} \[ \frac{d^2 (a+b x)^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{d (a+b x)}{b c-a d}\right )}{(m+1) (b c-a d) (d e-c f)^2}+\frac{f (a+b x)^{m+1} (a d f-b c f m-b d e (1-m)) \, _2F_1\left (1,m+1;m+2;-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^2 (d e-c f)^2}-\frac{f (a+b x)^{m+1}}{(e+f x) (b e-a f) (d e-c f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 103
Rule 156
Rule 68
Rubi steps
\begin{align*} \int \frac{(a+b x)^m}{(c+d x) (e+f x)^2} \, dx &=-\frac{f (a+b x)^{1+m}}{(b e-a f) (d e-c f) (e+f x)}-\frac{\int \frac{(a+b x)^m (a d f-b (d e+c f m)-b d f m x)}{(c+d x) (e+f x)} \, dx}{(b e-a f) (d e-c f)}\\ &=-\frac{f (a+b x)^{1+m}}{(b e-a f) (d e-c f) (e+f x)}+\frac{d^2 \int \frac{(a+b x)^m}{c+d x} \, dx}{(d e-c f)^2}+\frac{(f (a d f-b d e (1-m)-b c f m)) \int \frac{(a+b x)^m}{e+f x} \, dx}{(b e-a f) (d e-c f)^2}\\ &=-\frac{f (a+b x)^{1+m}}{(b e-a f) (d e-c f) (e+f x)}+\frac{d^2 (a+b x)^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac{d (a+b x)}{b c-a d}\right )}{(b c-a d) (d e-c f)^2 (1+m)}+\frac{f (a d f-b d e (1-m)-b c f m) (a+b x)^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac{f (a+b x)}{b e-a f}\right )}{(b e-a f)^2 (d e-c f)^2 (1+m)}\\ \end{align*}
Mathematica [A] time = 0.235035, size = 174, normalized size = 0.93 \[ \frac{(a+b x)^{m+1} \left (-\frac{d^2 (b e-a f) \, _2F_1\left (1,m+1;m+2;\frac{d (a+b x)}{a d-b c}\right )}{(m+1) (b c-a d) (c f-d e)}+\frac{f (a d f-b c f m+b d e (m-1)) \, _2F_1\left (1,m+1;m+2;\frac{f (a+b x)}{a f-b e}\right )}{(m+1) (b e-a f) (d e-c f)}-\frac{f}{e+f x}\right )}{(b e-a f) (d e-c f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.085, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bx+a \right ) ^{m}}{ \left ( dx+c \right ) \left ( fx+e \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}}{{\left (d x + c\right )}{\left (f x + e\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}}{d f^{2} x^{3} + c e^{2} +{\left (2 \, d e f + c f^{2}\right )} x^{2} +{\left (d e^{2} + 2 \, c e f\right )} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}}{{\left (d x + c\right )}{\left (f x + e\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]